On 4/25/2024 9:25 AM, Thomas A. Schmitz wrote:
Nope, very sorry, can’t figure it out… I see job.register, I see I can access
structures.refrences.collected, but what about the next level
utilitydata.structures.references.collected={
[""]={
[“REF"]={
What does the empty key
>
> Nope, very sorry, can’t figure it out… I see job.register, I see I can access
> structures.refrences.collected, but what about the next level
>
> utilitydata.structures.references.collected={
> [""]={
> [“REF"]={
>
> What does the emp
ut what about the next level
utilitydata.structures.references.collected={
[""]={
[“REF"]={
What does the empty key do? And how do I retrieve the value of
REF.references.realpage?
Thomas
___
If you
upregister[learnedlong][style=sansbold, textstyle=slanted, n=2,
pagenumber=yes, indicator=no]
%
\define[1]\learnedis{%
\txt{} \getvalue{#1}
\learnedshort{#1}
\learnedlong{#1}
}
\define[1]\learned{%
\textreference[textref#1]{\expanded{\currentstructuretitle}}
\refer
upregister[learnedlong][style=sansbold, textstyle=slanted, n=2,
pagenumber=yes, indicator=no]
%
\define[1]\learnedis{%
\txt{} \getvalue{#1}
\learnedshort{#1}
\learnedlong{#1}
}
\define[1]\learned{%
\textreference[textref#1]{\expanded{\currentstructuretitle}}
\refer
]\learnedis{%
\txt{} \getvalue{#1}
\learnedshort{#1}
\learnedlong{#1}
}
\define[1]\learned{%
\textreference[textref#1]{\expanded{\currentstructuretitle}}
\reference[ref#1]{}%
%
\learnedshort{#1}
\learnedlong{\getvalue{#1}}
}
\starttext
\learned{W3}
\startchapter[title
Jeroen schrieb am 16.09.2023 um 22:28:
This MWE has a framed text for some verbatim text (code) with as title
ref. a counter 1, 2, etc.. Is there a way to change this frame text
title as following with the chapter number and a sequential number and
the title.
Code Fragment 1.1 (The First
\stopCode
\stopchapter
\stoptext
Op zo 17 sep 2023 om 17:31 schreef Bruce Horrocks :
>
>
> > On 16 Sep 2023, at 21:28, Jeroen wrote:
> >
> > This MWE has a framed text for some verbatim text (code) with as title
> ref. a counter 1, 2, etc.. Is there a way to change
> On 16 Sep 2023, at 21:28, Jeroen wrote:
>
> This MWE has a framed text for some verbatim text (code) with as title ref. a
> counter 1, 2, etc.. Is there a way to change this frame text title as
> following with the chapter number and a sequential number and th
This MWE has a framed text for some verbatim text (code) with as title ref.
a counter 1, 2, etc.. Is there a way to change this frame text title as
following with the chapter number and a sequential number and the title.
Code Fragment 1.1 (The First Title)
Code Fragment 1.2 (The Second Title
Hi,
I would like a variant of cite per the APA specification that removes the
bracket when quoted in mathematical definitions, theorems, etc. I could of
course do it manually for reach using right= and left= but I didn't want to
do it every time. I have come up with this MWE:
\startbuffer[ref
s a link that you can click on and cause the
> PDF viewer to jump/scroll to the linked destination. In ConTeXt, you
> can use \in to create a reference. In LaTeX, you use \ref.
>
> The situation is that I have a PDF-document (inner.pdf) that defines
> several destinations and I want
e a reference. In LaTeX, you use \ref.
The situation is that I have a PDF-document (inner.pdf) that defines
several destinations and I want to embed that document with
\externalfigure into another PDF-document (outer.pdf). My question is:
Is it possible to create references within the source code
\completecontent
\dorecurse{5}
{a\footnote{}}
\stoptext
LuaTeX generates fine hyperlinks for footnotes.
My guess is that the issue is in the LuaMetaTeX binary.
Could anyone confirm this issue?
i'll check it but (maybe side effect of some ref things Alan and I are
working on). The engine has
/"
2/ readme.tex
Basic document with content and ref to global environnement file
3/ env_00.tex
environnement file that refers to other specific environnement files
which are produced by the
ing for the MWE:
--- begin database-mwe.csv ---
Ref. No.,Part No.,Description,Remarks
,RD14C82E000J,Carbon 000흮 ±5% 1/4W,
--- end database-mwe.csv ---
Some notes on database-mwe.csv:
I'd like to keep the header row in place to make this file useful for other
tools.
These are lists of electro
o store the full prefixdata with all necessary prefix numbers
> > in the tuc file? Here is my proposal to change the source code:
> >
> > --- strc-lst-old.lmt2023-01-29 11:30:15.610309948 +0300
> > +++ strc-lst.lmt2023-01-29 12:10:08.864228923 +0300
> > @@ -266,6 +266,16 @
and not b then
local s = r.section
--- strc-ref-old.lmt 2023-01-29 11:30:15.823643904 +0300
+++ strc-ref.lmt 2023-01-29 12:07:45.697109862 +0300
@@ -2318,7 +2318,17 @@
if data then
numberdata = lists.reordered(data) -- data.numberdata
if numberdata
I, too, am struggling with external (and internal) references.
I have created (and sent to Hans) a MWE that seems to identify two bugs:
1) External references: in a single product, some of these work, and
*some* do not render the numbers (using \in{} [ref], for example). They
are, however
[r.section]
+if sectiondata then
+for k, v in next, sectiondata do
+t.prefixdata[k] = v
+end
+end
+end
+--
local b = r and t.block
if r and not b then
local s = r.section
--- strc-ref-old.lmt2023-01-29 11:30
ed = pdfreserveobject()
mu[label] = reserved
end
-return pdfreference(reserved)
+return reserved
end
local function checkedreference(ref)
@@ -639,16 +643,16 @@
local openpage = specification.openpage
local closepage = specification.closepage
local option= se
etd
local set = settings_to_array(symbol)
if #set == 1 then
setn, setr, setd = set[1], set[1], set[1]
elseif #set == 2 then
setn, setr, setd = set[1], set[1], set[2]
else
setn, setr, setd = set[1], set[2], set[3]
end
Hello everyone
I am interested in being able to cite in different ways. By analogy, I
refer to the \texcite{}, \parencite{} and other options available with
biblatex in LaTeX. How do I achieve something like \textcite{} in ConTeXt?
Here is my MWE:
\startbuffer[ref]
@Article{wn:2017,
author
On 12/6/2022 10:04 PM, Rik Kabel via ntg-context wrote:
On 2022-12-06 15:32, Hans Hagen via ntg-context wrote:
On 12/6/2022 9:06 PM, Rik Kabel via ntg-context wrote:
\definelabel[X][text=]
\startTEXpage[offset=1cm]
\X\X[a]\X[b]\X\par
\convertnumber{R}{\ref[number][a]}
\convertnumber
On 2022-12-06 15:32, Hans Hagen via ntg-context wrote:
On 12/6/2022 9:06 PM, Rik Kabel via ntg-context wrote:
\definelabel[X][text=]
\startTEXpage[offset=1cm]
\X\X[a]\X[b]\X\par
\convertnumber{R}{\ref[number][a]}
\convertnumber{G}{\ref[number][b]}
\stopTEXpage
maybe like
On 12/6/2022 9:06 PM, Rik Kabel via ntg-context wrote:
\definelabel[X][text=]
\startTEXpage[offset=1cm]
\X\X[a]\X[b]\X\par
\convertnumber{R}{\ref[number][a]}
\convertnumber{G}{\ref[number][b]}
\stopTEXpage
maybe like this:
\definelabel[X][text=]
\startTEXpage[offset=1cm]
(\X
On 2022-01-19 12:39, Rik Kabel via ntg-context wrote:
This is still a problem with the current standalone.
\definelabel[X][text=]
\startTEXpage[offset=1cm]
\X\X[a]\X[b]\X\par
\convertnumber{R}{\ref[number][a]}
\convertnumber{G}{\ref[number][b]}
\stopTEXpage
Dear Alan,
Thanks again for all your help.
Deleting the definebtxrendering[ref] part makes my citations disappear. I get
something like:
says in their paper…
Also, the setupbtx[apa:list]… doesn’t solve my etallimit problem.
Could you test my code and tweak it for me? Can’t find examples
On Mon, 26 Sep 2022 21:40:14 -0600
Alan Braslau via ntg-context wrote:
> On Sat, 24 Sep 2022 18:57:25 +
> Jethro Djan via ntg-context wrote:
>
> > \setupbtx[
> > dataset=ref,
> > etaldisplay = 1,
> > etallimit = 1,
> > ]
>
> Remove extr
On Sat, 24 Sep 2022 18:57:25 +
Jethro Djan via ntg-context wrote:
> \setupbtx[
> dataset=ref,
> etaldisplay = 1,
> etallimit = 1,
> ]
Remove extra spaces.
Alan
___
If your question
Dear list,
I am trying to specify that 'et al’ should be appended after the first author
if paper has multiple authors. It seems from the mkiv-publications.pdf manual
that it should work like this but it doesn’t. Here is my MWE:
\startbuffer[ref]
@Article{bb:2017,
author = {Bronstein
;; MSG SIZE rcvd: 63
>
>
>$ whois 208.91.197.132
>NetRange: 208.91.196.0 - 208.91.197.255
>CIDR: 208.91.196.0/23
>NetName:CONFLUENCE-NETWORK-INC
>NetHandle: NET-208-91-196-0-1
>Parent: NET208 (NET-208-0
ent: NET208 (NET-208-0-0-0-0)
NetType:Direct Allocation
OriginAS: AS40034
Organization: Confluence Networks Inc (CN)
RegDate:2011-04-15
Updated:2015-11-23
Ref:https://rdap.arin.net/registry/ip/208.91.196.0
OrgName:
This is still a problem with the current standalone.
\definelabel[X][text=]
\startTEXpage[offset=1cm]
\X\X[a]\X[b]\X\par
\convertnumber{R}{\ref[number][a]}
\convertnumber{G}{\ref[number][b]}
\stopTEXpage
%% The above example fails to compile when there is no tuc
ble glue units , pointing to the second \convertnumber line.
\definelabel[XX]%[text=,before=,after=,alternative=inright]
\startTEXpage[offset=2em]
abc\XX[xx]\par
\ref[number][xx] ·
\convertnumber{r}{1} ·
\convertnumber{R}{\ref[number][xx]}
\stopTEXpage
In this case I
ond \convertnumber line.
\definelabel[XX]%[text=,before=,after=,alternative=inright]
\startTEXpage[offset=2em]
abc\XX[xx]\par
\ref[number][xx] ·
\convertnumber{r}{1} ·
\convertnumber{R}{\ref[number][xx]}
\stopTEXpage
In this case I am trying to display with roman numer
ore=,after=,alternative=inright]
\startTEXpage[offset=2em]
abc\XX[xx]\par
\ref[number][xx] ·
\convertnumber{r}{1} ·
\convertnumber{R}{\ref[number][xx]}
\stopTEXpage
In this case I am trying to display with roman numerals the number
generated in the label created thro
bel[XX]%[text=,before=,after=,alternative=inright]
\startTEXpage[offset=2em]
abc\XX[xx]\par
\ref[number][xx] ·
\convertnumber{r}{1} ·
\convertnumber{R}{\ref[number][xx]}
\stopTEXpage
In this case I am trying to display with roman numerals the number
generated in the la
[
A4,landscape]
\setuppagenumbering[
location={footer,center}]
\setbreakpoints[compound]
\starttext
\startsection[title={MyTitle},ref={apx}]
\dorecurse{10}{\input zapf\par}
\stopsection
\stoptext
\stopbuffer
\savebuffer[list=apx, file=apx.tex]
\starttext
\startbodymatter
tuphead[chapter][style=\bfd]
\setuphead[section][style=\bfc]
\setuphead[subsection][style=\bfb]
\setuphead[subsubsection][style=\bf]
\setupitemize[autointro] % prevent orphan list intro
\setupitemize[indentnext=no]
\starttext
\startsection[title={MySlideTitle},ref={myref1}]
Body text
\startitem
next=no]
\starttext
\startsection[title={MySlideTitle},ref={myref1}]
Body text
\startitemize
\item Item 1
\item Item 2
\stopitemize
\stopsection
\startsection[title={MySlideTitle},ref={myref2}]
Body text
\stopsection
\stoptext\starttext
text
\stoptext
\stopbuffer
\savebuffer[list=slides,
mt
@@ -655,9 +655,6 @@ local function insertrenderingwindow(specification)
}
local width = specification.width or 0
local height = specification.height or 0
-if height == 0 or width == 0 then
--- todo: sound needs no window
-end
context(nodeinjections.annotation(width,
number in the MPvariables
first= and next= ??
\startsetups page:header
\setupMPvariables[hdrPgs]
[curr=\pagenumber,
first={\ref[page][\headerfirst]},
next={\ref[page][\headernext]}]
I've tried \expanded and \numeric without success
or alternatively
On 3/18/2021 6:14 PM, Werner Hennrich wrote:
metafun > log >
metafun > log > error: Improper subscript has been replaced by zero
metapost > log > <*> ... numeric numFirst; numFirst := \ref [page]
watch closely to the previous log line ... you're mi
Hello everyone,
I'm having page references and want to calc / draw 'Page x of y' for
some subsections in MP.
How can I pass 'em down so I end up with numbers to do calculations with?
\setuplayout[header=15mm]
\def\myHeader[#1]#2{
\ignorespaces
\getdummyparameters[ref=,next=,#1
On 11/24/2020 22:09, Rik Kabel wrote:
Hello all,
What I thought should be a simple conversion escapes me.
I have a reference (created originally via a label defined by
\definelabel) that, when referenced as \in[label] or
\ref[number][label] displays a number, and that is how I normally use
Hello all,
What I thought should be a simple conversion escapes me.
I have a reference (created originally via a label defined by
\definelabel) that, when referenced as *\in[label]* or
*\ref[number][label]* displays a number, and that is how I normally use
it. However, I want to display
s-so-ciates dec-li-na-tion oblig-a-tory
phil-an-thropic present presents project projects reci-procity
re-cog-ni-zance ref-or-ma-tion ret-ri-bu-tion ta-ble",
["length"]=168,
["n"]=14,
},
Would it be possible to add more exceptions to that list as they come
s-so-ciate as-so-ciates dec-li-na-tion oblig-a-tory
phil-an-thropic present presents project projects reci-procity
re-cog-ni-zance ref-or-ma-tion ret-ri-bu-tion ta-ble",
["length"]=168,
["n"]=14,
},
Would it be possible to add more exceptions to that list as they com
errors are to be expected, which is why \hyphenation exists.
I see. I've noticed lang-us.lua has a list of exceptions in it:
["exceptions"]={
["characters"]="abcdefghijlmnoprstuyz",
["data"]="as-so-ciate as-so-ciates dec-li-na-tion oblig-a-tory
ount of available styles in
> > > CSL, I nevertheless think that this could be a worthwile addition. What
> > > would be necessary to make such a toll usable with ConTeXt? How
> > > complicated would that be?
> >
> > In principle, this should be trivial. D
, this should be trivial. Define a new command, say \citeproc[ref],
which saves the values of `ref` to a lua table, and at the end of the run,
write that lua table to an aux .json file, call citeproc and store output to a
new file, and on the second run read from that file. This is essentially how
principle, this should be trivial. Define a new command, say \citeproc[ref],
which saves the values of `ref` to a lua table, and at the end of the run,
write that lua table to an aux .json file, call citeproc and store output to a
new file, and on the second run read from that file. This is ess
plus][h=606ABD]
>
> \definecolor[A4plus][h=FFC700]
>
> \definecolor[A5plus][h=D0202B]
>
> \definecolor[A6plus][h=EF8600]
>
> \definecolor[A7plus][h=0082AA]
>
>
> \setupcolors[textcolor=A1plus]
>
>
> \usemodule[tikz]
>
>
>
> \starttext
>
=FFC700]
\definecolor[A5plus][h=D0202B]
\definecolor[A6plus][h=EF8600]
\definecolor[A7plus][h=0082AA]
\setupcolors[textcolor=A1plus]
\usemodule[tikz]
\starttext
\startchapter[title={Colour test}, ref=colourtest]
\startsection[title={Section}]
\starttikzpicture
\draw[text=A6plus] (0,0
ent in the ToC like the list
> argument.
>
> > The minimal working example below shows what I'm trying to do.
> >
> > Best wishes and many thanks in advance.
> >
> > James
> >
> >
> \define\mytitle{\getvariable{myvar}{title}\crlf{\tfx\getvariable{
but it
won't work when you try to show the argument in the ToC like the list
argument.
The minimal working example below shows what I'm trying to do.
Best wishes and many thanks in advance.
James
\define\mytitle{\getvariable{myvar}{title}\crlf{\tfx\getvariable{myvar}{date}\hfill\getvariable{myvar}{ref
\mytitle{\getvariable{myvar}{title}\crlf{\tfx\getvariable{myvar}{date}\hfill\getvariable{myvar}{ref}}}
\define\mylist{\getvariable{myvar}{list}---{\bf \getvariable{myvar}{date}}}
\starttext
\completecontent
\setvariables[myvar][
title={What I would like},
date={2020},
ref={Reference No 1},
list
I'm trying to customise \cite and unable to get inbetween= to appear between
entries in a multi-ref citation.
My own customisations via a copy of publ-imp-apa.mkvi and .lua have this
problem, so in case it was due to my customisation I went back to solid ground
— the Chemistry example, pp. 70
> In Table \in[tab1]
>
> \stoptext
>
>
> It has [location=split], which I need this because xtable doesn’t like to be
> placed without a split; and apparently neither does it accept the
> \placetable[ref]{...} syntax. However, the reference is now no longer
> detec
need this because xtable doesn’t like to be
placed without a split; and apparently neither does it accept the
\placetable[ref]{...} syntax. However, the reference is now no longer detected.
I can see that the split table’s caption is about to become "Table 1.a.",
"Table
> > c^2 = a^2 + b^2.
> > \stopformula
> > And now we can refer to formula \ref[][formulalabel].
> >
> > \stoptext
> >
> > There is a blank where the formula label should be at “now we
On Mon, 10 Feb 2020 05:58:50 +0800
Jon Wong wrote:
> MWE:
>
> \starttext
>
> The famous result (and again) is given by
> \placeformula[formulalabel]
> \startformula
> c^2 = a^2 + b^2.
> \stopformula
> And now we can refer to formula \ref[][formulalabel].
>
MWE:
\starttext
The famous result (and again) is given by
\placeformula[formulalabel]
\startformula
c^2 = a^2 + b^2.
\stopformula
And now we can refer to formula \ref[][formulalabel].
\stoptext
There is a blank where the formula label should be at “now we can refer to
formula ---“.
Regards
enting this, but I am afraid it does not work properly, at
>> least not if there are several targets following one after another.
>>
>> Consider this example:
>>
>>
>> \setupcolumns[
>> n=2,
>> ]
>> \setuplinenumbering[
>> step=5,
&g
,
]
\def\Lab#1{%
\pagereference[#1]%
\pagereference[column:#1]%
\someline[#1]%
}
\def\Ref#1{
page \at[#1],
column
\doifelsereferencefound{column:#1}{\number\referencecolumnnumber}{},
line \inlinerange[#1].
}
\starttext
\startcolumns
\startlinenumbering
REFERENCES:\par
A: \Ref{A}\par
B: \Ref{B}\par
C
it does not work properly,
at least not if there are several targets following one after another.
Consider this example:
\setupcolumns[
n=2,
]
\setuplinenumbering[
step=5,
method=page,
]
\def\Lab#1{%
\pagereference[#1]%
\pagereference[column:#1]%
\someline[#1]%
}
\def\Ref#1{
page
own (which then can clash with some existing name).
Also, the ref mechanism evolved over decades and we're not going to
drop compatibility.
Hans
-
Hans Hagen | PRAGMA ADE
Ridde
give back different things (a
title, a number, a range, a ...) and packaging all that in one macro
doens't make it cleaner so soon users will then wrap complex calls in a
macro of their own (which then can clash with some existing name).
Also, the ref mechanism evolved over decades and we're not goi
Hi all,
I’m having trouble getting \textreference to show up.
MWE:
\starttext
\textreference[bleh]{\bf Ref One}.
\page
\textreference[blah]{\bf Ref Two}.
\at[bleh].
\at[blah].
\stoptext
Regards
Jon
> On Aug 28, 2019, at 7:40 PM, Jon Wong wrote:
>
> Hi all,
>
>
m book.tuc to check
# that each xref points to an actual entry, and that, further, "see
# also" src entries have at least one page ref (perhaps in subtree)
# due to bug in slpp parser: replace "-" (minus signs) in data with "_"
from slpp import slpp as lua
from sys import s
> \stopitemize
> \stopitemize
>
> how to label / ref the generated label for item 2.b ?
>
> see (2.b) Test
Did you try \item[myref] and \in[myref]?
Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
ht
Could someone point me to the docs where to find the proper way to
make a reference to some stacked itemize context?
\startitemize[n]
\item One
\item Two
\startitemize[a]
\item A
\item B Test
\stopitemize
\stopitemize
how to label / ref the generated label for item 2.b ?
see (2.b) Test
space inbetween initials?
Minimal example below, and I attach the result without the setting
above (no space V.I. Arnol'd) and with the setting above (space V. I.
Arnol'd).
/Mikael
%Example
\startbuffer[ref]
@book {arnold,
AUTHOR = {Arnold, Vladimir I.},
TITLE = {Ordinary differential
( forget the time, it's a zero-optimized binary (fast to compile))
It takes even longer for me with the binary from the distribution.
On the mac, is that one run?
With luatex 1.10 (mingw 64 version), when i delete the tuc file so with
multiple runs to get the cross ref and lists right, I get
On 2/10/2019 8:13 PM, Marco Patzer wrote:
On Sun, 10 Feb 2019 17:43:09 +0100
Hans Hagen wrote:
that effort was changed in cooking up smaller independent manuals ...
Which I personally like. It provides more in depth knowledge.
that ref manual still applies to much (encodings and fonts
On Sun, 10 Feb 2019 17:43:09 +0100
Hans Hagen wrote:
> that effort was changed in cooking up smaller independent manuals ...
Which I personally like. It provides more in depth knowledge.
> that ref manual still applies to much (encodings and fonts have
> changed of course)
I k
that has ever taken place.
that effort was changed in cooking up smaller independent manuals ...
that ref manual still applies to much (encodings and fonts have changed
of course)
Hans
-
Hans
turncode=\scratchcounter\else
> \def\suffix{.tiff}
> \edef\returncode{\URIReturnCode{\theurl\suffix}}
> \fi
> \ifnum\returncode=\scratchcounter\else
> \def\suffix{.tif}
> \edef\returncode{\URIReturnCode{\theurl\suffix}}
> \fi
> }
>
> % Give up if returncode other
ive up if returncode other then 200.
\ifnum\returncode=200\relax
% Page number might be added.
\doifelse{\xmlatt{#1}{page}}{\empty}
{\let\thep\empty}
{\edef\thep{\letterhash page=\xmla
::whatever:1]
\goto{note 2}[first::whatever:2]
\in{note (1)}[first::whatever:1]
\in{note (2)}[first::whatever:2]
\in{note (3)}[whatever:3]
\in{note (4)}[whatever:4]
\stoptext
--
the \in ref to the other doc will work ok in a next beta (normally one
will use a proper project
match and make bold
multiple names:
|\startbuffer[ref]@article{solo, author ={MyLast, MyFirst}, title ={Solo
work}, journal ={Journal}, year ={2000}, month ={1}, volume
={1}}@article{co, author ={OtherLast, OtherFirst and MyLast, MyFirst and
CoLast, CoFirst}, title ={Joint work}, journal =
.* interface instead
Thanks,
Stan
Longer MNWE:
\stopluacode
\startbuffer[ref]
@article{solo,
author = {Lastname, Firstname},
title = {Solo work},
journal = {Journal},
year = {2000},
month = {1},
volume = {1}
}
\stopbuffer
\usebtxdataset[ref][ref.buffer]
\setupbtx[dataset=ref
the publications
table or other means? I've gone over the source code but I can't
decipher what btxflush is actually doing.
Thanks,
Stan
Longer MNWE:
\stopluacode
\startbuffer[ref]
@article{solo,
author = {Lastname, Firstname},
title = {Solo work},
journal = {Journal},
year = {2000},
month
hould add too that in this particular volume our contributors
> sometimes mention different terms for the same thing as in “This is
> called p or q”. Indexing both terms (p and q) separately and the
> adding x-ref is one way to go but indexing the more commonly used
> term and adding a mere x-ref for th
generate the indices for my book, \seeindex{A}{B} works only if it is a
unique x-ref and A is a heading. Multiple x-refs to the same heading fail as do
x-refs to subheadings.
sure,
\seeindex{fun}{blah}% not shown
\seeindex{fun}{humbug} % not shown
\seeindex{fun}{bug
I should add too that in this particular volume our contributors sometimes
mention different terms for the same thing as in “This is called p or q”.
Indexing both terms (p and q) separately and the adding x-ref is one way
to go but indexing the more commonly used term and adding a mere x-ref
games}{entertainment}% not shown
>> \placeindex[n=1]
>> \stoptext
>> When I generate the indices for my book, \seeindex{A}{B} works only if it is
>> a unique x-ref and A is a heading. Multiple x-refs to the same heading fail
>> as do x-refs to subheadings.
> sure,
>
with heading (as it should be)
\seeindex{fun}{blah}% not shown
\seeindex{fun}{humbug}% not shown
\seeindex{fun}{bug}% not shown
\seeindex{fun+games}{entertainment}% not shown
\placeindex[n=1]
\stoptext
When I generate the indices for my book, \seeindex{A}{B} works only if
it is a unique x-ref
{fun}{blah} % not shown
\seeindex{fun}{humbug} % not shown
\seeindex{fun}{bug} % not shown
\seeindex{fun+games}{entertainment} % not shown
\placeindex[n=1]
\stoptext
When I generate the indices for my book, \seeindex{A}{B} works only if it
is a unique x-ref and A is a heading. Multiple x-refs
This is fixed in the latest beta. Thanks, Hans!
Alan
On Sat, May 19, 2018 at 8:05 AM Alan Bowen wrote:
> IF I am doing this correctly, then, there seems to be problems in the
> current standalone when there are two x-refs to a single heading. The
> space after “and” is
w users, it is worth repeating here that arguments within braces
can be either a comma-separated list of words OR a comma-separated
list of keyword=value pairs, BUT NOT A MIXTURE OF BOTH. Generally, a
keyword=value exists for all words, for example \cite[authoryear][ref]
and \cite[alternative=au
IF I am doing this correctly, then, there seems to be problems in the
current standalone when there are two x-refs to a single heading. The
space after “and” is missing and should the order of the refs not be
alphabetical?
MWE
\starttext
\seeindex{animal}{cat}
\seeindex{animal}{quadruped}
acode
you need to use
context["goto"]("Index",{"ref:index"}) -- this does not work
because "goto" is a reserved lua word
you can't say foo.if or foo.end either
\input ward.tex
\stopchapter
\starttitle[title={Index}]
\startluacode
local s,t = &
de
context.index("Knuth")
context.index("Ward")
context("Read Knuth and see also the ")
local s,t = "Index","ref:index"
context.MyGoTo({s},{t})
-- context.goto("Index",{"ref:index"}) --
quot;
-- context("\\goto{s}[t]") -- this does not work
-- context.goto({"Index"},{"ref:index"}) -- this does not work
context("\\goto{Index}[ref:index]")
\stopluacode
\input ward.tex
\stopchapter
\starttitle[title={Index}]
% one could
][a,repeat][width=2em]
%\setupitemgroup[itemize][3][r][width=3em]
\starttext
\startitemize[n]
\item [ref:1] item 1
\startitemize[a]
\startitem[ref:a]
subitem a, reference a
\stopitem
\item [ref:b] item b
\startitem[ref:c]
Item c, reference c
\stopitem
\stopitemize
\item[ref:2]
Item 2, reference 2
».
>>>
>>> I guess what you want to obtain can be achieved with the following example
>>> below. At least here with either versions of Context I have the output is
>>> as expected.
>>>
>>> Best regards: OK
>>>
>&g
itemgroups with the keyword «
>> repeat ».
>>
>> I guess what you want to obtain can be achieved with the following example
>> below. At least here with either versions of Context I have the output is as
>> expected.
>>
>> Best regards: OK
>&g
repeat ».
>>
>> I guess what you want to obtain can be achieved with the following example
>> below. At least here with either versions of Context I have the output is as
>> expected.
>>
>> Best regards: OK
>>
>> %% begin
1 - 100 of 588 matches
Mail list logo